package com.dody.junit;

/**
 * @author ShiXin
 * @date 2019/4/19 22:24
 * @description lite-junit
 */
public class TestFailure {
    protected Test failedTest;
    protected Throwable throwableException;

    public TestFailure(Test failedTest, Throwable throwable) {
        this.failedTest = failedTest;
        this.throwableException = throwable;
    }

    public Test getFailedTest() {
        return failedTest;
    }

    public Throwable getThrowableException() {
        return throwableException;
    }
}
